package com.ys.modules.base.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;

@Data
@TableName("tg_miner_purchase_record")
@ApiModel("矿机购买记录表")
public class TgMinerPurchaseRecord {
    @ApiModelProperty(value = "矿机购买记录ID，主键")
    @TableId(type = IdType.AUTO)
    private Long recordId;

    @ApiModelProperty(value = "矿机ID")
    private Long tgMinerId;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "生效开始时间")
    private Date startTime;

    @ApiModelProperty(value = "生效结束时间")
    private Date endTime;

    @ApiModelProperty(value = "挖矿天数")
    private Integer miningDays;

    @ApiModelProperty(value = "每天产出XCoin")
    private java.math.BigDecimal dailyOutputXcoin;

    @ApiModelProperty(value = "每小时产出XCoin")
    private java.math.BigDecimal hourlyOutputXcoin;

    @ApiModelProperty(value = "已累计产出XCoin")
    private java.math.BigDecimal totalMinedXcoin;

    @ApiModelProperty(value = "状态：1正在工作，2到期停止工作")
    private Integer status;

    @ApiModelProperty(value = "购买数量")
    private Integer purchaseQuantity;

    @ApiModelProperty(value = "销售价USDT")
    private java.math.BigDecimal priceUsdt;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "创建人ID")
    private Long createdBy;
} 